﻿
         <div class="onglets">
             <span class="onglet_0 onglet" id="onglet_liste" onclick="javascript:change_onglet('liste');">Liste</span>
           
         </div>
         <div class="contenu_onglets">
			<form method="POST" action="resultat.php">
			<div class="contenu_onglet" id="contenu_onglet_liste">
			<div id="div_col_usager">
				<?php 
					require_once("../lib/recup_col.php");
					$tab= array();
					$choix_col= new RecupCol("usager",$tab);
					$choix_col->getCol();
				
				?>
			</div>
<div id="div_table" >
		
	</div>

	<input type="button" value="Delete" id="delete" onclick="deleteRow('#table_recherche','usager','id_usager')"/>
	<label for="select_all">Tout (dé)sélectionner</label>
	<input type="checkbox" id="select_all" onchange="select_all(this.checked,'#table_recherche')" />
	</form>
</div>
<div class="javascript" id="usager_javascript">

	var dial = dialogCol("#div_col_usager");

	$.ajax({
		url:'./usager/recup_usager.php',
		context: document.body,
		statusCode: {
   			 404: function() {
     			 alert('page not found');
    		}
  		},
		success:function(code){
				$("#div_table").html(code);
							init_tab("#table_recherche","table de test","#div_col_usager");
							var oTable = $("#table_recherche").dataTable();
		}
			
			
	})

</div>